package cn.iocoder.yudao.module.wms.dal.mysql.checkvouch;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.wms.dal.dataobject.checkvouch.CheckvouchsDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 盘点子 Mapper
 *
 * @author 芋道源码
 */
@Mapper
public interface CheckvouchsMapper extends BaseMapperX<CheckvouchsDO> {

    default List<CheckvouchsDO> selectListByPid(Integer pid) {
        return selectList(CheckvouchsDO::getPid, pid);
    }

    default int deleteByPid(Integer pid) {
        return delete(CheckvouchsDO::getPid, pid);
    }

}
